﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _3_2
{
    class Program
    {
        static void Main(string[] args)
        {
            //求时间
            
            Console.WriteLine("请输入秒：");
            int s = Convert.ToInt32(Console.ReadLine());
            int a = s %60;
            Console.WriteLine("秒："+a+"s");
            int fen = ((s-a)/60)%60;
            Console.WriteLine("分："+fen+"m");
            int shi = (s-a) / (60 * 60);
            Console.WriteLine("时：" + shi+"h");
            Console.WriteLine(shi + ":"+fen+":" + a);
            Console.ReadKey();
        }
    }
}
